<?php
$this->breadcrumbs=array(
	$bookinfo->name.'的评论',
);?>
<h2 class='green comment-title'><?=$bookinfo->name.'的评论'?></h2>

<div id='previewForm' >
<?php echo CHtml::beginForm($this->createUrl('/comment/new'),'post');?>
<div class='row'><label for='subject'>主题：</label><?=CHtml::textField('subject','')?></div>
<div class='row'><label for='content'>内容：</label><?=CHtml::textArea('content','')?></div>
<?=CHtml::hiddenField('bid',$bookinfo->id)?>
<div class='buttonrow'><?=CHtml::submitButton('提交')?>&nbsp;&nbsp;<?=CHtml::button('返回',array('onclick'=>"window.location.href='".referrer()."'"))?></div>
<?php echo CHtml::endForm();?>
</div>
